Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecation warning to change "tests:" config to "data_tests:" #10670

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

gshank
Copy link
Contributor

@gshank gshank commented Sep 5, 2024

Resolves #10564

Problem

The decision was made that we are not deprecating the "tests:" config and it will not be removed in the future, so issuing a deprecation warning is no longer functional.

Solution

Remove the code that issues the warning.

Checklist

  • I have read the contributing guide and understand what's expected of me.
  • I have run this code in development, and it appears to resolve the stated issue.
  • This PR includes tests, or tests are not required or relevant for this PR.
  • This PR has no interface changes (e.g., macros, CLI, logs, JSON artifacts, config files, adapter interface, etc.) or this PR has already received feedback and approval from Product or DX.
  • This PR includes type annotations for new and modified functions.

@gshank gshank requested a review from a team as a code owner September 5, 2024 22:05
@cla-bot cla-bot bot added the cla:yes label Sep 5, 2024
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.90%. Comparing base (c28cb92) to head (20965fd).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10670      +/-   ##
==========================================
- Coverage   88.94%   88.90%   -0.04%     
==========================================
  Files         180      180              
  Lines       22798    22784      -14     
==========================================
- Hits        20277    20256      -21     
- Misses       2521     2528       +7     
Flag Coverage Δ
integration 86.20% <ø> (-0.07%) ⬇️
unit 62.36% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Unit Tests 62.36% <ø> (+<0.01%) ⬆️
Integration Tests 86.20% <ø> (-0.07%) ⬇️

@@ -388,6 +388,9 @@ def message(self) -> str:
return line_wrap_message(warning_tag(f"Deprecated functionality\n\n{description}"))


# Note: this deprecation has been removed, but we are leaving
# the event class here, because users may have specified it in
# warn_error_options.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧠

@gshank gshank merged commit b35ad46 into main Sep 6, 2024
73 checks passed
@gshank gshank deleted the 10564_no_tests_warnings branch September 6, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove deprecation warnings for tests to data_tests configs
3 participants